Use getopt.gnu_getopt rather than getopt.getopt, so that xm list VM --long is
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 2 Dec 2005 01:04:09 +0000 (01:04 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 2 Dec 2005 01:04:09 +0000 (01:04 +0000)
commit0172c7181e465c4af5309fcf0eec557edf6ba6ed
tree0960e82746f221ce4d7e21c37f7bba297e5ba221
parent242a8bbf4d0e6652162cb8d91dc5178b3fb29861
Use getopt.gnu_getopt rather than getopt.getopt, so that xm list VM --long is
parsed the same as xm list --long VM.  This is only in Python 2.3 -- for
Python 2.2 we keep the old getopt.getopt behaviour.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py
tools/python/xen/xm/opts.py